package com.example.testcomposeproject.ui.theme.dimensions

import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass

/**
 * @author: hemin
 * @date: 2024/4/8
 * @Desc:
 */
object DimensionsManager {

    /**
     * 现在统一使用手机尺寸 留着后面扩展
     */
    fun getAppDimensions(windowSize: WindowWidthSizeClass= WindowWidthSizeClass.Compact): AppDimensions {
        return when (windowSize) {
            WindowWidthSizeClass.Compact -> PhoneDimensions()
            else -> PhoneDimensions ()
        }
    }
}

